//
// Fragment shader for procedural bricks
//
// Authors: Dave Baldwin, Steve Koren, Randi Rost
//          based on a shader by Darwyn Peachey
//
// Copyright (c) 2002-2006 3Dlabs Inc. Ltd. 
//
// See 3Dlabs-License.txt for license information
//

uniform vec3  Color;

varying float LightIntensity;

void main()
{
    vec3  color;

    //color  = mix(MortarColor, BrickColor, useBrick.x * useBrick.y);
    color = Color;
    color *= LightIntensity;
    gl_FragColor = vec4(color, 1.0);
}
